package com.proscenic.ops;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@SpringBootApplication
@MapperScan("com.proscenic.ops.*.mapper")
@RestController
public class OpsMarketApplication {
    @RequestMapping("/")
    public String index(){
        return "ops-market service is running";
    }

    public static void main(String[] args) {
        SpringApplication.run(OpsMarketApplication.class, args);
    }

}
